﻿namespace SsisLdapSource.InstantiationTime
{
    public class CustomPropertyInfo
    {
        public CustomPropertyInfo(
            string propertyName,
            string propertyDescription,
            object propertyDefaultValue,
            bool isEncryptionRequiredForProperty,
            bool isCommaDelimitedToStringArrayTypeConverterRequiredForProperty)
        {
            this.Name = propertyName;
            this.Description = propertyDescription;
            this.DefaultValue = propertyDefaultValue;
            this.IsEncryptionRequired = isEncryptionRequiredForProperty;
            this.IsCommaDelimitedToStringArrayTypeConverterRequired =
            isCommaDelimitedToStringArrayTypeConverterRequiredForProperty;
        }

        public string Name { get; private set; }

        public string Description { get; private set; }

        public object DefaultValue { get; private set; }

        public bool IsEncryptionRequired { get; private set; }

        public bool IsCommaDelimitedToStringArrayTypeConverterRequired { get; private set; }
    }
}
